<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../CSS/rolePage-css.css">
</head>
<body>
    <div class="left-div">
        <span>共${param.totalUserCount}条记录</span>&nbsp;&nbsp;
        <span>${param.currentPageNo}/${param.totalPageCount}页</span>
        <c:if test="${param.currentPageNo > 1}">
            <a href="javascript:page_jump(document.forms[0],1);">首页</a>
            <a href="javascript:page_jump(document.forms[0],${param.currentPageNo - 1});">上一页</a>
        </c:if>
        <c:if test="${param.currentPageNo < param.totalPageCount}">
            <a href="javascript:page_jump(document.forms[0],${param.currentPageNo + 1});">下一页</a>
            <a href="javascript:page_jump(document.forms[0],${param.totalPageCount});">最后一页</a>
        </c:if>
    </div>
    <div class="right-div">
        <span>跳转至</span>
        <input type="text" id="jump-input" class="jump-input" name="jumpPageNo">
        <span>页</span>
        <button type="button" class="jump-btn" onclick='jump_to(document.forms[0],document.getElementById("jump-input").value)'>GO</button>
    </div>
</body>
<script src="../js/rolePage-js.js" type="text/javascript" charset=""></script>
</html>
